Skip to content

ETT-1288 Run fixity check on new storage#175

Open
moseshll wants to merge 15 commits intomainfrom
ETT-1288_fixity
Open

ETT-1288 Run fixity check on new storage#175
moseshll wants to merge 15 commits intomainfrom
ETT-1288_fixity

Conversation

@moseshll
Copy link
Contributor

@moseshll moseshll commented Mar 3, 2026

  • Add storage_name column to feed_audit and feed_audit_detail
  • main_repo_audit.pl now requires a --storage_name parameter
    • Expected values s3-truenas-ictc and s3-truenas-macc
  • HTFeed/Storage/LocalPairtree.pm and HTFeed/StorageAudit.pm also write feed_audit.storage_namd and feed_audit_detail.storage_name, respectivelt, but I'm not sure what values that can or should provide
  • Add a couple of happy path tests for the script as a whole.

moseshll added 8 commits March 3, 2026 11:38
- Add `storage_name` column to `feed_audit` and `feed_audit_detail`
- `main_repo_audit.pl` now requires a `--storage_name` parameter
  - Expected values `s3-truenas-ictc` and `s3-truenas-macc`
- `HTFeed/Storage/LocalPairtree.pm` and `HTFeed/StorageAudit.pm` also write `feed_audit.storage_namd` and `feed_audit_detail.storage_name`, respectivelt, but I'm not sure what values that can or should provide
- Add a couple of happy path tests for the script as a whole.
- New code is truenas_audit.pl
- TODO: several FIXMEs in the code, possible leftovers from main_repo_audit.pl inside truenas_audit.pl
@aelkiss aelkiss self-requested a review March 11, 2026 16:57
Copy link
Member

@aelkiss aelkiss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've looked at this some; I want to look at the tests more, not sure I'll get to that today though.

Copy link
Member

@aelkiss aelkiss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests look good; see comments about the backticks. Not critical, but maybe worth considering.

@moseshll
Copy link
Contributor Author

@aelkiss Since the scope of this has changed to focus on feed_storage instead of feed_audit I would suggest backing out changes to the feed_audit DB schema on this branch. I suspect the changes may still be disruptive for feed_internal but if this is to be the MVP for this round then I'd like to return to feed_audit after getting some utility from what's here.
Thoughts?

@moseshll moseshll marked this pull request as ready for review March 13, 2026 18:35
@moseshll moseshll requested a review from aelkiss March 13, 2026 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants